import { BaseCommand } from '@amcax/base';
import {
  cmdBoundaryLayer,
  cmdDistribution,
  cmdElement,
  cmdMeshSize,
  cmdNode,
  cmdReferPoint,
  cmdSurface,
} from './mesh';
// import { cmdComponent } from './component';

export type NMCommandItem = {
  command: BaseCommand;
  type?: string;
};
export const commandList: NMCommandItem[] = [
  // mesh control
  { command: cmdBoundaryLayer, type: 'BoundaryLayer' },
  { command: cmdDistribution, type: 'Distribution' },
  { command: cmdMeshSize, type: 'MeshSize' },
  // collections
  { command: cmdNode, type: 'Node' },
  { command: cmdElement, type: 'Element' },
  { command: cmdSurface, type: 'Surface' },
  { command: cmdReferPoint, type: 'ReferPoint' },
  // component
  // { command: cmdComponent, type: 'Component' }, // 暂时不开放(左侧树双击节点调用)
];
